-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduces happy-path static test vectors #100
Introduces happy-path static test vectors #100
Conversation
Open comments from #81: |
ACK but I'm not writing the code using these :P |
59927d6
to
3ab9a2f
Compare
I think that the current test vector file is monolithic and might not be very usable for implementations that are just starting out in the future. I think I will add smaller tests (even though they will be redundant) for individual things in their own files like parsing LN messages, TLVs, Schnorr signning and sig-point computation, hash serialization, etc. |
Oh also fee computation and tx construction |
In short I'm a fan of the large monolithic test file because eventually it will be used for all sorts of edge cases (#47) but I also want small modular static tests for individual pieces that new clients may be implementing (e.g. you shouldn't need to have completed transaction construction and TLV parsing to test signature point computation) |
5dbe908
to
c517a1b
Compare
I am porting the tests:
|
39e3e11
to
8c6042c
Compare
…ripts to be used in fee tests for less modular APIs
RefundSig is serialized as |
I think there is a problem in the serialization.
The contractInfo should use the same order as the one in the vector. |
I think there is also another problem in the way If the WitScript is |
Separated from their original PR #81 to narrow scope.
Continues work towards #47.